import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router';
import routes from "./routers/main_router";

import ElementUI from 'element-ui';
import axios from "axios"
import VueAxios from "vue-axios"
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.use(VueRouter)
Vue.use(VueAxios,axios)

Vue.config.productionTip = false


import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);
// 请大家整理好 路由路径模块
const router = new VueRouter({
  routes:routes.routes
})
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
